package finalproject.controller.commands;

import finalproject.model.player.Player;
import finalproject.view.StringManager;

/**
 * The energy command
 * display the player energy
 * @author user
 *
 */
public class EnergyCommand extends Command {

	/**
	 * 
	 * @param player the player issuing the command
	 * @param args the command args
	 */
	public EnergyCommand(Player player, String[] args)
	{
		super(player, args);
	}

	@Override
	public boolean process()
	{
		// Display energy
		StringManager.outPutText("Energy: " + getPlayer().getEnergy());
		StringManager.outPutText("Pet Energy: " + getPlayer().getPet().getEnergy());
		return false;
	}
}
